﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using AutoMapper;
using System.Data;
using EasyGo.Domain.Model;
using EasyGo.Domain.Projections;

namespace EasyGo.Web.Config
{
    public static class Mapping
    {
        public static void Init()
        {
            Mapper.CreateMap<IDataReader, UserInfo>();
            Mapper.CreateMap<IDataReader, Company>();
            Mapper.CreateMap<IDataReader, ListUser>();
            Mapper.CreateMap<IDataReader, UserAccount>();
        }
    }
}